import os.path

c_path=os.path.dirname(__file__)#获取当前文件的路径
print(c_path)
pro_path=os.path.split(c_path)[0]#剪断尾部，成为两端，并生成元组，获取第一组
print(pro_path)
#数据路径
data_path=os.path.join(pro_path,'datas')
#日志路径
log_path=os.path.join(pro_path,'logs')
#报告路径
report_path=os.path.join(pro_path,'reports')
#报告json路径
report_json_path=os.path.join(pro_path,'reports','report_json')
#报告html路径
report_html_path=os.path.join(pro_path,'reports','report_html')
print(report_path,report_path,report_path)